package cn.ibizlab.odoo.core.odoo_mail.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_mail.domain.Mail_blacklist_mixin;
import cn.ibizlab.odoo.core.odoo_mail.filter.Mail_blacklist_mixinSearchContext;

/**
 * 实体[Mail_blacklist_mixin] 服务对象接口
 */

public interface IMail_blacklist_mixinService{
     boolean remove(Integer id) ;
     void createBatch(List<Mail_blacklist_mixin> mail_blacklist_mixins, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean update(Mail_blacklist_mixin mail_blacklist_mixin) ;
     void updateBatch(List<Mail_blacklist_mixin> mail_blacklist_mixins, int batchSize) ;
     Mail_blacklist_mixin get(Integer id) ;
     Mail_blacklist_mixin get(Mail_blacklist_mixin mail_blacklist_mixin) ;
     boolean create(Mail_blacklist_mixin mail_blacklist_mixin) ;

    /**
     * 查询集合 默认查询
     */
    Page<Mail_blacklist_mixin> searchDefault(Mail_blacklist_mixinSearchContext context) ;

    /**
     * 转换ClientModel为Domain
     */
    public Mail_blacklist_mixin convert2Domain(cn.ibizlab.odoo.core.client.model.Imail_blacklist_mixin model ,Mail_blacklist_mixin domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Imail_blacklist_mixin convert2Model(Mail_blacklist_mixin domain , cn.ibizlab.odoo.core.client.model.Imail_blacklist_mixin model);

}
